#ifndef CONFIG_H_
#define CONFIG_H_

#include <stdlib.h>
#include <pthread.h>
#include <iostream>
#include <fstream>
#include <map>
#include "utils.h"

class Config {
public:
  std::string get(const std::string&);
  static Config& get_instance();
  void release() {delete instance_;}
private:
  Config();
  ~Config();
  Config(const Config&);
  Config& operator=(const Config&);

private:
  std::map<std::string, std::string> dict_;
  static Config* instance_;
};

#endif
